import { ReactElement } from "react";

interface IProps {
  children: ReactElement;
}
export default function useRouteGuard(props: IProps) {
  const { children } = props;
  //鉴权
  //重定向
  return <div>{children}</div>;
}
